package com.jmt.goods.po;

import java.util.Date;

import com.jmt.user.po.User;

public class Goods {
	private int goodsId;
	private String goodsName;
	private String goodsIntroduce;
	private float goodsNormalPrice;
	private float goodsMemberPrice;
	private float goodsRebate;
	private int typeId;
	private int goodsNumber;
	private int goodsGrade;
	private boolean isSale;
	private boolean isValid;
	private String goodsPicture;
	private int	createrId;
	private Date	createDate;
	private int	updaterId;
	private Date	updateDate;
	
	
	public Goods() {
	}
	
	
	
	public Goods(int goodsId, String goodsName, String goodsIntroduce,
			float goodsNormalPrice, float goodsMemberPrice, float goodsRebate,
			int typeId, int goodsNumber, int goodsGrade, boolean isSale,
			boolean isValid, String goodsPicture, int createrId,
			Date createDate, int updaterId, Date updateDate) {
		super();
		this.goodsId = goodsId;
		this.goodsName = goodsName;
		this.goodsIntroduce = goodsIntroduce;
		this.goodsNormalPrice = goodsNormalPrice;
		this.goodsMemberPrice = goodsMemberPrice;
		this.goodsRebate = goodsRebate;
		this.typeId = typeId;
		this.goodsNumber = goodsNumber;
		this.goodsGrade = goodsGrade;
		this.isSale = isSale;
		this.isValid = isValid;
		this.goodsPicture = goodsPicture;
		this.createrId = createrId;
		this.createDate = createDate;
		this.updaterId = updaterId;
		this.updateDate = updateDate;
	}



	public int getGoodsId() {
		return goodsId;
	}
	public void setGoodsId(int goodsId) {
		this.goodsId = goodsId;
	}
	public String getGoodsName() {
		return goodsName;
	}
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	public String getGoodsIntroduce() {
		return goodsIntroduce;
	}
	public void setGoodsIntroduce(String goodsIntroduce) {
		this.goodsIntroduce = goodsIntroduce;
	}
	public float getGoodsNormalPrice() {
		return goodsNormalPrice;
	}
	public void setGoodsNormalPrice(float goodsNormalPrice) {
		this.goodsNormalPrice = goodsNormalPrice;
	}
	public float getGoodsMemberPrice() {
		return goodsMemberPrice;
	}
	public void setGoodsMemberPrice(float goodsMemberPrice) {
		this.goodsMemberPrice = goodsMemberPrice;
	}
	public float getGoodsRebate() {
		return goodsRebate;
	}
	public void setGoodsRebate(float goodsRebate) {
		this.goodsRebate = goodsRebate;
	}

	public int getTypeId() {
		return typeId;
	}

	public void setTypeId(int typeId) {
		this.typeId = typeId;
	}

	public int getGoodsNumber() {
		return goodsNumber;
	}
	public void setGoodsNumber(int goodsNumber) {
		this.goodsNumber = goodsNumber;
	}
	public int getGoodsGrade() {
		return goodsGrade;
	}
	public void setGoodsGrade(int goodsGrade) {
		this.goodsGrade = goodsGrade;
	}
	public boolean isSale() {
		return isSale;
	}
	public void setSale(boolean isSale) {
		this.isSale = isSale;
	}
	public boolean isValid() {
		return isValid;
	}
	public void setValid(boolean isValid) {
		this.isValid = isValid;
	}
	public String getGoodsPicture() {
		return goodsPicture;
	}
	public void setGoodsPicture(String goodsPicture) {
		this.goodsPicture = goodsPicture;
	}
	
	public int getCreaterId() {
		return createrId;
	}

	public void setCreaterId(int createrId) {
		this.createrId = createrId;
	}

	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	
	public int getUpdaterId() {
		return updaterId;
	}

	public void setUpdaterId(int updaterId) {
		this.updaterId = updaterId;
	}

	public Date getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	@Override
	public String toString() {
		return "Goods [goodsId=" + goodsId + ", goodsName=" + goodsName
				+ ", goodsIntroduce=" + goodsIntroduce + ", goodsNormalPrice="
				+ goodsNormalPrice + ", goodsMemberPrice=" + goodsMemberPrice
				+ ", goodsRebate=" + goodsRebate + ", typeId=" + typeId
				+ ", goodsNumber=" + goodsNumber + ", goodsGrade=" + goodsGrade
				+ ", isSale=" + isSale + ", isValid=" + isValid
				+ ", goodsPicture=" + goodsPicture + ", createrId=" + createrId
				+ ", createDate=" + createDate + ", updaterId=" + updaterId
				+ ", updateDate=" + updateDate + "]";
	}
	
	
	
}
